package com.niiwoo.civet.mobile.vo.request.kaola;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 考拉理财 还款请求VO.
 *
 * @author lichuanzhi
 * @date 2017/12/25
 */
@Getter
@Setter
@ApiModel("考拉理财还款请求")
public class KaoLaLiCaiRepayRequestVO {

    @NotNull(message = "projectId 不可为空")
    @ApiModelProperty(value = "项目ID", required = true)
    private Long projectId;

    @Range(min = 0,max = 2,message = "还款类型错误")
    @ApiModelProperty(value = "还款类型(0.正常还款 1.提前结清 2.逾期还款)", required = true)
    private Byte type;


}
